-- GENERATED SPELL FOR [Sandfury Blood Drinker] --


function spell0_5649(pUnit, Event) --@Blood Leech,Heal--
pUnit:FullCastSpellOnTarget(11898,pUnit)
pUnit:RegisterEvent('Sorts_5649', 638, 1)
end

function Sorts_5649(pUnit, Event)
local choix_sorts_5649 = math.random(0, 0)
if choix_sorts_5649 == 0 then
pUnit:RegisterEvent('spell0_5649', 1, 1)
end
end

function mob5649_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5649', math.random(1500, 3000), 1)
end

function mob5649_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5649_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5649_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5649, 1, 'mob5649_Action')
RegisterUnitEvent(5649, 2, 'mob5649_Leave')
RegisterUnitEvent(5649, 3, 'mob5649_Kill')
RegisterUnitEvent(5649, 4, 'mob5649_Die')
